package com.esms.dao;

import java.util.List;

import com.esms.po.Hassessment;
import org.apache.ibatis.annotations.Param;

import com.esms.po.Bonus;
import com.esms.po.Fassessment;

public interface BonusMapper {
    
    List<Bonus> selectBypIdAnddId(@Param("eid")String eid,@Param("fEid")String fEid,@Param("eName")String eName,@Param("quarter")String quarter);
    List<Bonus> selectBypIdAnddIdAndfEid(@Param("eid")String eid,@Param("did")int did,@Param("fEid")String fEid,@Param("eName")String eName,@Param("quarter")String quarter);
    List<Bonus> selectBypIdAnddIdkz(Integer pId,Integer sjId,String e_account);
    List<Bonus> selectBypIdAnddIdAndfEidkz(Integer pId,Integer sjId,String fEid,String e_account);
	int updateBysId(Bonus bonus);
	int deleteBonus(String aAuserid , String aDuserid,String quarter);
	int insertBonus(Fassessment fassessment);
    int addfassList(@Param("emps")List<Fassessment> fassessList);
	List<String> selectByStat(int stat,int type);
}